﻿<Window x:Class="WpfTestApplication.MenuTestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MenuTestWindow" Height="300" Width="300">
    <Grid>
        <Menu Height="22" Name="menuMain" VerticalAlignment="Top">
            <MenuItem Header="File" Name="miFile">
                <MenuItem Header="Open" Name="miOpen" Click="miOpen_Click" />
                <MenuItem Header="Save" Name="miSave" Click="miSave_Click" />
            </MenuItem>
            <MenuItem Header="Extras" Name="miExtras">
                <MenuItem Header="Check 1" IsCheckable="True" Name="miCheck1" Checked="miCheck1_Checked" />
                <MenuItem Header="Check 2" IsCheckable="True" Name="miCheck2" />
                <Separator />
                <MenuItem Header="Details" Name="miDetails">
                    <MenuItem Header="Detail 1" Name="miDetail1" />
                    <MenuItem Header="Detail 2" Name="miDetail2" />
                </MenuItem>
            </MenuItem>
        </Menu>
        <Label Height="28" Margin="12,28,12,0" Name="labelLastAction" VerticalAlignment="Top">-</Label>
    </Grid>
</Window>
